<?php 
    get_header();
?>

<div class="container">
    <div class="row">
        <?php 
            if ( have_posts() ) : 
            
                while ( have_posts() ) : the_post();

                    get_template_part( 'sections/part', 'news' );

                endwhile;

                the_posts_pagination( array(
                    'prev_text'          => __( '上一页', 'orange' ),
                    'next_text'          => __( '下一页', 'orange' ),
                    'before_page_number' => '<span class="meta-nav">' . __( '页', 'orange' ) . ' </span>',
                ) );

            endif;
        ?>
    </div>
</div>


<?php 
    get_footer();
?>